function New(para_URL){
    var URL=new String(para_URL);
    window.open(URL,'','resizable,scrollbars')
}

function ShowJsPicture(){
    document.images.js_picture_style_1.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/1.gif";
    document.images.js_picture_style_2.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/2.gif";
    document.images.js_picture_style_3.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/3.gif";
    document.images.js_picture_style_4.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/4.gif";
    document.images.js_picture_style_5.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/5.gif";
    document.images.js_picture_style_6.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/6.gif";
    document.images.js_picture_style_7.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/7.gif";
    document.images.js_picture_style_8.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/8.gif";
    document.images.js_picture_style_9.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/9.gif";
    document.images.js_picture_style_0.src="images/js_picture/"+document.form.js_picture_style.options[document.form.js_picture_style.selectedIndex].value+"/0.gif";
}

function ShowJsIcon(){
    document.images.js_icon_style.src="images/js_icon/"+document.form.js_icon_style.options[document.form.js_icon_style.selectedIndex].value;
}

function ShowImageCustom(){
    document.images.image_custom_background.src="images/image_custom/"+document.form.image_custom_background.options[document.form.image_custom_background.selectedIndex].value;
}

function ToggleNode(nodeObject, imgObject,imgout,imgover){
    if(nodeObject.style.display == '' || nodeObject.style.display == 'inline'){
        nodeObject.style.display = 'none';
        imgObject.src=imgover;
    }else{
        nodeObject.style.display = 'inline';
        imgObject.src=imgout;
    }
}

function CopyTo(ob){
    var obj=FindObj(ob);
    if (obj){
        obj.select();js=obj.createTextRange();js.execCommand("Copy");
    }
}

function FindObj(n,d){
    var p,i,x;
    if(!d){d=document;}
    if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all){x=d.all[n];}
    for(i=0;!x&&i<d.forms.length;i++){x=d.forms[i][n];}
    for(i=0;!x&&d.layers&&i<d.layers.length;i++){x=FindObj(n,d.layers[i].document);}
    if(!x && document.getElementById){x=document.getElementById(n);}
    return x;
}
